package sw.EngAdroid;

public class Question {

	private String text;
	private int answer;
	
	public Question(){
		text = "Guess a number 1 to 100";
		answer = (int)(Math.random() * 100);
	}
	
	public Question(String text, int answer){
		this.text = text;
		this.answer = answer;
	}
	
	public String getText(){
		return text;
	}
	
	public int getAnswer(){
		return answer;
	}
	
	public void setText(String text){
		this.text = text;
	}
	
	public void setAnswer(int answer){
		this.answer = answer;
	}
	
}
